package com.ruoyi.buy.domain.entity.PO;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 buy_purchase_bill
 * 
 * @author ruoyi
 * @date 2023-12-13
 */
public class BuyPurchaseBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String vBillNo;

    private List<String> vBillNos;

    public List<String> getvBillNos() {
        return vBillNos;
    }

    public void setvBillNos(List<String> vBillNos) {
        this.vBillNos = vBillNos;
    }

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String vProjectNo;

    /** 项目描述 */
    @Excel(name = "项目描述")
    private String vProjectDec;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applyBy;

    /** 经办人 */
    @Excel(name = "经办人")
    private String oprBy;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 合同金额 */
    @Excel(name = "合同金额")
    private BigDecimal nAmt;

    /** 货期 */
    @Excel(name = "货期")
    private String nDays;

    /** 品牌 */
    @Excel(name = "品牌")
    private String vBrand;

    private Date contractTime;

    @Excel(name = "合同类型")
    private String vType;

    @Excel(name = "采购单号")
    private String vBuyNo;

    public String getvType() {
        return vType;
    }

    public void setvType(String vType) {
        this.vType = vType;
    }

    public Date getContractTime() {
        return contractTime;
    }

    public void setContractTime(Date contractTime) {
        this.contractTime = contractTime;
    }

    public String getvBrand() {
        return vBrand;
    }

    public void setvBrand(String vBrand) {
        this.vBrand = vBrand;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setvBillNo(String vBillNo) 
    {
        this.vBillNo = vBillNo;
    }

    public String getvBillNo() 
    {
        return vBillNo;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setvProjectNo(String vProjectNo) 
    {
        this.vProjectNo = vProjectNo;
    }

    public String getvProjectNo() 
    {
        return vProjectNo;
    }
    public void setvProjectDec(String vProjectDec) 
    {
        this.vProjectDec = vProjectDec;
    }

    public String getvProjectDec() 
    {
        return vProjectDec;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setApplyBy(String applyBy) 
    {
        this.applyBy = applyBy;
    }

    public String getApplyBy() 
    {
        return applyBy;
    }
    public void setOprBy(String oprBy) 
    {
        this.oprBy = oprBy;
    }

    public String getOprBy() 
    {
        return oprBy;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setnAmt(BigDecimal nAmt) 
    {
        this.nAmt = nAmt;
    }

    public BigDecimal getnAmt() 
    {
        return nAmt;
    }
    public void setnDays(String nDays)
    {
        this.nDays = nDays;
    }

    public String getnDays()
    {
        return nDays;
    }

    public String getvBuyNo() {
        return vBuyNo;
    }

    public void setvBuyNo(String vBuyNo) {
        this.vBuyNo = vBuyNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vBillNo", getvBillNo())
            .append("status", getStatus())
            .append("vProjectNo", getvProjectNo())
            .append("vProjectDec", getvProjectDec())
            .append("delFlag", getDelFlag())
            .append("applyBy", getApplyBy())
            .append("oprBy", getOprBy())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("supplier", getSupplier())
            .append("nAmt", getnAmt())
            .append("nDays", getnDays())
                .append("vBrand", getvBrand())
                .append("contractTime", getContractTime())
                .append("vBuyNo", getvBuyNo())
            .toString();
    }
}
